<?php

	$nav = array("Home" => "", "Shop" => "shop/", "Picture" => "shop/picture/index.php?gid=$gid", "add" => "#");

	$tpl->assign("dsfm_nav", $nav);

	$form = new Form( array(
		"gid" => array(
			"type" => "hidden",
			"data" => $gid
		),
		"image" => array(
			"type" => "upload",
			"desc" => "680px * 400px"
		)
	));

	$form->add_action("picture/add.php");

	$form->rain_display($tpl, "form");
?>